x86/HVM: patch indirect calls through hvm_funcs to direct ones
authorJan Beulich <jbeulich@suse.com>
Fri, 17 May 2019 12:37:25 +0000 (14:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 17 May 2019 12:37:25 +0000 (14:37 +0200)
commit26c871bc2c4c186a92f5a83200ed46b39766c1f6
treeaba2a7da3ded1bb966e14ef440f2e92b298c377b
parent67d01cdb551880653dacf80af39f8b5280f1879c
x86/HVM: patch indirect calls through hvm_funcs to direct ones

This is intentionally not touching hooks used rarely (or not at all)
during the lifetime of a VM, like {domain,vcpu}_initialise or cpu_up,
as well as nested, VM event, and altp2m ones (they can all be done
later, if so desired). Virtual Interrupt delivery ones will be dealt
with in a subsequent patch.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/hvm.c
xen/include/asm-x86/hvm/hvm.h